package com.forezp.dao;

import com.forezp.entity.TaskNode;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface TaskNodeDao extends JpaRepository<TaskNode, Integer> {
    List<TaskNode> findByTaskIdOrderByOrderValueDesc(Integer taskId);

    List<TaskNode> findByTaskId(Integer taskId);
}
